SELECT d.Name AS [Department name], AVG(e.Salary) AS [Average salary]
	FROM Employees e
	JOIN Departments d
	ON e.DepartmentID = d.DepartmentID
	GROUP BY d.Name